package com.tpp.baseConsumer.service;

import com.tpp.comm.pojo.TpArea;
import com.tpp.comm.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface AdminAreaService {

    List<TpArea> findArea();

    void addArea(TpArea tpArea);

    void updateArea(TpArea tpArea);

    void deleteArea(Long id);

    TpArea findById(Long id);

}
